package ooDay01;

public class Person {
    String name;
    int age;
    String address;


    Person(){

    };
    Person(String name,int age,String address){
        this.name = name;
        this.age = age;
        this.address = address;
    }

    void eat(){
        System.out.println("干饭中...");
    }
    void sleep(){
        System.out.println("睡觉中...");
    }
    void sayHi(){
        System.out.println("大家好,我是"+name+"今年"+age+"岁了,"+"家住"+address);
    }

}
